<?php
class UnionCompetitionRecordAction extends SzAbstractAction {
    protected $paramTypes = array(
        SzAbstractAction::TYPE_INT,
    );

    /**
     * @param $guildId
     * @return SzResponse
     * @throws SzException
     */
    public function execute($guildId) {
        return $this->buildResponse(
            UnionCompetitionService::get()->competitionRecord($guildId)
        );
    }
}